class AddStatsToUser < ActiveRecord::Migration
  def self.up
    add_column :users, :points, :integer, :default=>0
    add_column :users, :best_time, :integer, :default=>0
    add_column :users, :played_games, :integer, :default=>0
  end

  def self.down
    remove_column :users, :points
    remove_column :users, :best_time
    remove_column :users, :played_games
  end
end
